/* reset */
body {
    background-color: #F6F8F9;
    min-width: 1240px;
    font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
}

a, a:hover, a:focus, a:active {
    color: #353535;
    text-decoration: none;
}

/* reset end */

/* public */
.mp-pull-left {
    text-align: left;
}
.mp-pull-right {
    text-align: right;
}
.mp-pull-center {
    text-align: center;
}

.mp-table{
    display: table;
    width: 100%;
    table-layout: fixed;
    .mp-row{
        display: table-row;
        .mp-col{display: table-cell;}
        .mp-col.vertical-top{vertical-align: top;}
        .mp-col.vertical-middle{vertical-align: middle;}
        .mp-col.vertical-bottom{vertical-align: bottom;}
        .mp-col.horizontal-center{text-align: center;}
        .mp-col.horizontal-right{text-align: right;}
        .mp-col.horizontal-left{text-align: left;}

        .mp-col-10{width: 10%;}
        .mp-col-20{width: 20%;}
        .mp-col-25{width: 25%;}
        .mp-col-30{width: 30%;}
        .mp-col-35{width: 35%;}
        .mp-col-40{width: 40%;}
        .mp-col-50{width: 50%;}
        .mp-col-60{width: 60%;}
        .mp-col-70{width: 70%;}
        .mp-col-80{width: 80%;}
        .mp-col-90{width: 90%;}
        .mp-col-100{width: 100%;}
    }
}

.mp-label-required{

}
.mp-label-required:after{
    display: inline-block;
    content: '*';
    color: red;
    margin: 0 0 0 5px;
}

/* public end */

/* header */
.mp-head {
    height: 80px;
    background-color: #FFFFFF;
    box-shadow: 0 1px 4px 0 rgba(238, 238, 238, 0.5);
    .mp-wrapper {
        padding: 0 50px;
        ul.mp-nav {
            list-style: none;
            padding: 30px 0px;
            // basic
            > li {
                display: inline-block;
                padding: 0px 15px;
                > a,
                > a:hover,
                > a:focus,
                > a:active {
                    font-size: 15px;
                    color: #353535;
                    text-decoration: none;
                }
            }
        }
    }
}

.mp-head {
    // logo
    ul.mp-nav.mp-nav-logo{
        padding: 0;
        .mp-head-logo a {
            display: inline-block;
            vertical-align: top;
            height: 40px;
            content: " ";
            //background: transparent url(../images/logo.jpg) no-repeat 0 0;
            background-size: auto 100%;
        }
        //.mp-head-logo a:before {
        //    display: inline-block;
        //    vertical-align: top;
        //    width: 325px;
        //    height: 40px;
        //    content: " ";
        //    background: transparent url(../images/logo.jpg) no-repeat 0 0;
        //    background-size: auto 100%;
        //}
        .dropdown{
            position: relative;
            top: 5px;
			font-size: 15px;
        }
    }

    // message
    .mp-head-message {
        content: " ";
        width: 22px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
        background-image: url("data:image/svg+xml;charset=utf8, %3Csvg width='22' height='20' viewBox='0 0 22 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239A9A9A' fill-rule='evenodd'%3E%3Cpath d='M1 1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm1 2v14h18V3H2z'/%3E%3Cpath d='M2 9.059L11 14l9-4.941V7l-9 4.941L2 7v2.059z'/%3E%3C/g%3E%3C/svg%3E");
        .mp-head-message-num {
            border-radius: 10px;
            box-shadow: 0 0 0 3px #FFFFFF;
            min-width: 20px;
            line-height: 20px;
            font-style: normal;
            background-color: #FA5151;
            color: #FFFFFF;
            font-size: 12px;
            position: relative;
            top: -10px;
            right: -10px;
            padding: 0 5px;
        }
    }
}

/* header end */

/* body */
.mp-body {
    min-height: 925px;
    padding: 40px 0 20px;
    .mp-wrapper {
        padding: 0px;
    }
}

// 左侧菜单
.mp-menu-wrapper {
    width: 170px;
    float: none;
    position: absolute;
    transition: margin .3s, width .3s;
    .mp-menu {
        padding-left: 0px;
        list-style: none;
        .mp-menu-item {
            padding: 8px 0px;
            font-size: 18px;
            .mp-menu-link {
                display: block;
                padding: 10px 0px 10px 30px;
                .mp-menu-icon {
                    position: relative;
                    top: 1px;
                    margin-right: 8px;
                    color: #9a9a9a;
                    font-size: 20px;
                    .iconfont {
                        font-size: 20px;
                        width: 22px;
                        display: inline-block;
                    }
                }
                .mp-menu-name {

                }
            }
            .mp-menu-link.active {
                color: #1AAD19;
                .mp-menu-icon {
                    color: #1AAD19;
                }
            }
            .mp-menu-link-hover:hover {
                background-color: rgba(0, 0, 0, 0.03);
            }
        }
        .mp-menu-item:after {
            display: block;
            position: relative;
            left: 65px;
            bottom: -10px;
            width: 43%;
            content: " ";
            border-top: 1px solid #E4E8EB;
        }
        // 子菜单
        .mp-menu-sub {
            padding-left: 0px;
            list-style: none;
            .mp-menu-sub-item {
                padding: 0px 0px;
                font-size: 14px;
                .mp-menu-sub-link {
                    display: block;
                    padding: 10px 0px 10px 65px;
                    .mp-menu-sub-name {

                    }
                }
                .mp-menu-sub-link.active {
                    color: #1AAD19;
                }
                .mp-menu-sub-link:hover {
                    background-color: rgba(0, 0, 0, 0.03);
                }
            }
        }
    }
}

// 主要内容
.mp-content-wrapper {
    margin-left: 155px;
    float: none;
    .mp-content {
        width: 100%;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
}

// 面板
.mp-panel {
    margin-bottom: 30px;
    padding: 24px 18px;
    background-color: #FFFFFF;
    -webkit-border-radius: 3px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.05);
    .mp-panel-title{
        padding: 0;
        margin-bottom: 15px;
        background-color: #fff;
        font-size: 24px;
        >li>a{
            color: #333;
        }
        >li+li:after, >li+li:before{
            top: 16px;
        }
        >li+li:after{
            border-left: 5px solid #ffffff;
        }
    }
    .mp-divider{
        border-top: 1px solid #eee;
        margin-bottom: 15px;
    }
    .mp-divider-noborder{
        margin-bottom: 15px;
    }
    .mp-panel-footer{
        margin-top: 15px;
    }

    // 拖动排序
    .mp-move-sort{
        padding-top: 0;
        padding-bottom: 0;
        vertical-align: middle;
        .icon{
            font-size: 26px;
            cursor: move;
        }
    }
}

// 底部面板
.mp-panel-foot {
    margin-bottom: 30px;
    padding: 24px 0px;
    .row {
        padding-bottom: 10px;
        margin-bottom: 8px;
    }
    .row.line {
        border-bottom: 1px solid #eee;
    }
}

// 链接组
.mp-group-link {
    a {
        margin-right: 20px;
        width: 100px;
        font-size: .8em;
    }
    a:not(:first-child):before {
        content: "|";
        vertical-align: middle;
        position: relative;
        left: -10px;
        top: -2px;
    }
}

.mp-hide-html{
    display: none;
}

/* body end */